﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shoozla.DataModel
{
    public class MemoryCoverStorage : ICoverStorage
    {
        MultithreadingObservableCollection<Mp3File> _modifedMp3;

        public MemoryCoverStorage()
        {
            _modifedMp3 = new MultithreadingObservableCollection<Mp3File>();
        }

        public void AddCoverToStorage(Mp3File song) {
            _modifedMp3.Add(song);
        }

        public void LoadFromStorage(string filename) {
            ;;
        }

        public void SaveToStorage(string filename) {

           ;;
        }

        public MultithreadingObservableCollection<Mp3File> GetAllCovers()
        {
            return _modifedMp3;
        }

        public void Reset()
        {
            _modifedMp3.Clear();
        }
    }
}
